package com.hod.reservgrid.client.model;


/**
 * @gears.table (name=Bed, namespace=hoddatabase)
 * @gears.index (name= idBed, fields= idBed)
 * @gears.namedQuery (name=FindAll, sql="select :Bed")
 * @gears.namedQuery (name=FindByRoom, sql="select :Bed where idRoom=?")  
 */
public class Bed implements GearsDataObject
{
	public static final String FIND_ALL = "FindAll";
	public static final String FIND_BY_ROOM = "FindByRoom";
  
    /**
     * @gears.id (length=10)
     */
    private Integer idBed;
    /**
     * @gears.column (references=Room(idRoom))
     */    
    private Integer idRoom;
    /**
     * @gears.column (references=BedType(idBedType))
     */ 
    private Integer idBedType;
    /**
     * @gears.column
     */
    private String state;
    /**
     * @gears.column
     */
    private Integer number;
    
	public void setIdRoom(Integer idRoom) {
		this.idRoom = idRoom;
	}
	public Integer getIdRoom() {
		return idRoom;
	}
	public void setIdBed(Integer idBed) {
		this.idBed = idBed;
	}
	public Integer getIdBed() {
		return idBed;
	}
	public void setIdBedType(Integer idBedType) {
		this.idBedType = idBedType;
	}
	public Integer getIdBedType() {
		return idBedType;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getState() {
		return state;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Integer getNumber() {
		return number;
	}
    
    
    
}
